import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@Retention(RetentionPolicy.RUNTIME)
@interface Author {
    String name();
    String email();
}

@Author(name = "John Doe", email = "john.doe@example.com")
public class MyClass {
    // 类的实现
}